import { Controller } from "@nestjs/common";

import { MichaelService } from "./micheal.service";

import { Get } from "@nestjs/common";
import { Public } from "src/decorators/is-public.decorator";

@Controller('michael')
export class MichaelController {
    constructor(private readonly michaelService: MichaelService) { }

    @Public()
    @Get('message')
    getMessage(): string {
        return this.michaelService.getMessage();
    }
}